package org.luo.news.domain.article;


import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import org.luo.common.common.Result;


public interface ArticleService extends IService<Article> {
    Result add(Article article);

    Result<Page<Article>> list(Integer pageNum, Integer pageSize, Integer categoryId, String state);

    Result<Article> detail(Integer id);
}
